package com.pc.controller;

import com.pc.enrty.ShoppingTrolley;
import com.pc.service.ShoppingTrolleyService;
import com.pc.util.ResultObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/trolley/")
public class ShoppingTrolleyController {
    @Autowired
    private ShoppingTrolleyService shoppingTrolleyService;
    @Autowired
    private ResultObject result;
    @RequestMapping("find")
    public ResultObject findByUidAndFid(ShoppingTrolley shoppingTrolley){
        return result;
    }
    @RequestMapping("add")
    public ResultObject addTrolley(ShoppingTrolley shoppingTrolley){
        return result;
    }
    @RequestMapping("update")
    public ResultObject updateByUidAndFid(ShoppingTrolley shoppingTrolley){
        return result;
    }
    @RequestMapping("remove")
    public ResultObject removeByUidAndFid(ShoppingTrolley shoppingTrolley){
        return result;
    }
}
